home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CAsianMinaretMesh
- {
- string MeshFile = "Models/B_Asian_8.mesh";
- string SkinFile = "Models/B_Asian_8.skin";
- }
-
- class CAsianMinaretStateControl extends CUnitLifeControl
- {
- void CAsianMinaretStateControl()
- {
- CUnitLifeControl(1500.0);
- m_DestroyPause = 20.0;
- m_ExplosionId = "EXPLID_BuildingExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseAsianMinaret extends CBuilding, CUnitWithStateControl
- {
- void CBaseAsianMinaret()
- {
- InitializeModelAsStatic("CAsianMinaretMesh");
- CUnitWithStateControl("CAsianMinaretStateControl");
- }
- }
-
- // Single game object
- class CMountedAsianMinaret extends CBaseAsianMinaret
- {
- void CMountedAsianMinaret()
- {
- InitializeGroundControl();
- }
- }
-
-